# -*- coding: utf-8 -*-  
from bug_page import *
from mongodb import *
from github import *
class cao(object):
	def get_a(self):
		url1="https://github.com/composer/satis/labels/bug"
		url2="https://github.com/composer/satis/issues?q=label%3Abug+is%3Aclosed"

		self.open_bugnum= skipspace(getpage_spider(url1))

		self.close_bugnum=skipspace(getpage_spider(url2))
		print self.open_bugnum
		print self.close_bugnum

a=cao()
a.get_a()
